package com.lxmes.procontrol.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 生产过程管理总表对象 nc_pro_line_monitoring
 * 
 * @author ruoyi
 * @date 2022-11-23
 */
public class NcProLineMonitoring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 生产计划号 */
    @Excel(name = "生产计划号")
    private String proPlanNo;

    /** 订货号 */
    @Excel(name = "订货号")
    private String orderNo;

    /** 生产线 */
    @Excel(name = "生产线")
    private String proLine;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date proDate;

    /** 生产序列 */
    @Excel(name = "生产序列")
    private String proSeq;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private String serialNumber;

    /** 生产序号 */
    @Excel(name = "生产序号")
    private String proSerNum;

    /** 发动机号 */
    @Excel(name = "发动机号")
    private String engineNo;

    /** 机体号 */
    @Excel(name = "机体号")
    private String eBodyNo;

    /** 整车订单号 */
    @Excel(name = "整车订单号")
    private String carOrderNo;

    /** 计划上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planUpLineTime;

    /** 计划下线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划下线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planDownLineTime;

    /** 上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upLineTime;

    /** 下线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downLineTime;

    /** 生产状态 */
    @Excel(name = "生产状态")
    private String proState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setProPlanNo(String proPlanNo) 
    {
        this.proPlanNo = proPlanNo;
    }

    public String getProPlanNo() 
    {
        return proPlanNo;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setProLine(String proLine) 
    {
        this.proLine = proLine;
    }

    public String getProLine() 
    {
        return proLine;
    }
    public void setProDate(Date proDate) 
    {
        this.proDate = proDate;
    }

    public Date getProDate() 
    {
        return proDate;
    }
    public void setProSeq(String proSeq) 
    {
        this.proSeq = proSeq;
    }

    public String getProSeq() 
    {
        return proSeq;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setProSerNum(String proSerNum) 
    {
        this.proSerNum = proSerNum;
    }

    public String getProSerNum() 
    {
        return proSerNum;
    }
    public void setEngineNo(String engineNo) 
    {
        this.engineNo = engineNo;
    }

    public String getEngineNo() 
    {
        return engineNo;
    }
    public void seteBodyNo(String eBodyNo) 
    {
        this.eBodyNo = eBodyNo;
    }

    public String geteBodyNo() 
    {
        return eBodyNo;
    }
    public void setCarOrderNo(String carOrderNo) 
    {
        this.carOrderNo = carOrderNo;
    }

    public String getCarOrderNo() 
    {
        return carOrderNo;
    }
    public void setPlanUpLineTime(Date planUpLineTime) 
    {
        this.planUpLineTime = planUpLineTime;
    }

    public Date getPlanUpLineTime() 
    {
        return planUpLineTime;
    }
    public void setPlanDownLineTime(Date planDownLineTime) 
    {
        this.planDownLineTime = planDownLineTime;
    }

    public Date getPlanDownLineTime() 
    {
        return planDownLineTime;
    }
    public void setUpLineTime(Date upLineTime) 
    {
        this.upLineTime = upLineTime;
    }

    public Date getUpLineTime() 
    {
        return upLineTime;
    }
    public void setDownLineTime(Date downLineTime) 
    {
        this.downLineTime = downLineTime;
    }

    public Date getDownLineTime() 
    {
        return downLineTime;
    }
    public void setProState(String proState) 
    {
        this.proState = proState;
    }

    public String getProState() 
    {
        return proState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("proPlanNo", getProPlanNo())
            .append("orderNo", getOrderNo())
            .append("proLine", getProLine())
            .append("proDate", getProDate())
            .append("proSeq", getProSeq())
            .append("serialNumber", getSerialNumber())
            .append("proSerNum", getProSerNum())
            .append("engineNo", getEngineNo())
            .append("eBodyNo", geteBodyNo())
            .append("carOrderNo", getCarOrderNo())
            .append("planUpLineTime", getPlanUpLineTime())
            .append("planDownLineTime", getPlanDownLineTime())
            .append("upLineTime", getUpLineTime())
            .append("downLineTime", getDownLineTime())
            .append("proState", getProState())
            .toString();
    }
}
